import request from '@/utils/request'

export const getTeacherList = (data) => {
  return request({
    url:'eduservice/teacherfront/getFrontTeacher',
    method:'get',
    params:data
  })
}

export const getTeacherById = (data) => {
  return request({
    url:`eduservice/teacherfront/getTeacher/${data}`,
    method:'get'
  })
}

export default { getTeacherList, getTeacherById }